﻿using Newtonsoft.Json;

namespace Fortunate.ViewModel.UserModule
{
    public class UsersList
    {
        /// <summary>
        /// Desc:主键
        /// Default:
        /// Nullable:True
        /// </summary>           
        public Guid Id { get; set; }

        /// <summary>
        /// Desc:名称
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string Name { get; set; }

        /// <summary>
        /// Desc:账号
        /// Default:
        /// Nullable:True
        /// </summary>     
        [JsonConverter(typeof(DesensitizationConvter), 1, 3)]
        public string Account { get; set; }

        /// <summary>
        /// Desc:手机
        /// Default:
        /// Nullable:True
        /// </summary>     
        [JsonConverter(typeof(DesensitizationConvter), 3, 6)]
        public string Phone { get; set; }

        /// <summary>
        /// Desc:QQ号码
        /// Default:
        /// Nullable:True
        /// </summary>           
        [JsonConverter(typeof(DesensitizationConvter), 2, 6)]
        public string QQ { get; set; }

        /// <summary>
        /// Desc:角色
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string Roles { get; set; }

        /// <summary>
        /// Desc:身份证
        /// Default:
        /// Nullable:True
        /// </summary>           
        [JsonConverter(typeof(DesensitizationConvter), 3, 12)]
        public string IdCard { get; set; }

        /// <summary>
        /// Desc:地址 
        /// Default:
        /// Nullable:True
        /// </summary>           
        [JsonConverter(typeof(DesensitizationConvter), 2, 6)]
        public string Address { get; set; }

        /// <summary>
        /// Desc:创建时间
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string CreateTime { get; set; }

        /// <summary>
        /// Desc:是否删除
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string UserState { get; set; }

        /// <summary>
        /// Desc:备注
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string Remark { get; set; }

    }
}
